<%--
  Created by IntelliJ IDEA.
  User: hanni
  Date: 2019/1/20 0020
  Time: 16:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="./static/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="./static/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="./static/easyui/themes/color.css">
    <script type="text/javascript" src="./static/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="./static/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="./static/easyui/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
<div>
    <table id="dg"></table>


</div>

<script type="text/javascript">
    $('#dg').datagrid({
        url:'/weizhang?jid='+${param.jid},
        columns:[[
            {field:'wid',title:'驾驶证号码'},
            {field:'wname',title:'司机姓名'},
            {field:'wdescs',title:'违章描述'},
            {field:'wfakuan',title:'罚款'},
            {field:'wkoufen',title:'扣分'},
            {field:'wtime',title:'违章时间'},
            {field:'wstatus',title:'状态'},

        ]],
        pagination:true,
        pageSize:3,
        pageList:[3,6,9],
        toolbar:'#toolbar',
        onLoadSuccess:function () {
            $.parser.parse();
        }

    })
</script>

</body>
</html>
